Package com.cisco.pt.ipc.sim
Interface ICMPProcess
- All Known Implementing Classes:
ICMPProcessImpl
Information provided by the PKI file:
\class IcmpProcess
\brief IcmpProcess is the process that handles and manipulates ICMP.
\example network().getDevice("PC0").getProcess("IcmpProcess")
- Author:
- Auto-generated
-
Method Summary
Modifier and TypeMethodDescriptioncreatePingProcess(IPAddress dstIpAddress, int repeatTime, int timeout, int waitTime, String portName) Information provided by the PKI file:createTraceRouteProcess(IPAddress dstIpAddress, int probeCount, int minTTL, int maxTTL, int timeout, int waitTime, String portName) Information provided by the PKI file:getPingProcess(Short id) Information provided by the PKI file:Information provided by the PKI file:Information provided by the PKI file:startTraceRoute(IPAddress dstIpAddress, int probeCount, int minTTL, int maxTTL, int timeout, int waitTime, String portName) Information provided by the PKI file:Methods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.Process
getOwnerDevice
-
Method Details
-
startPing
Information provided by the PKI file:
\brief Starts a ping to the specified destination and returns the ping process ID. \param dstIpAddress, the destination IP address. \param repeatTime, the repeat time value. \param timeout, the timeout value. \param waitTime, the wait time value. \param portName, portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 \return short, the ping process ID.- Parameters:
dstIpAddress- Takes in a parameter of dstIpAddressrepeatTime- Takes in a parameter of repeatTimetimeout- Takes in a parameter of timeoutwaitTime- Takes in a parameter of waitTimeportName- Takes in a parameter of portName- Returns:
- Short Returns a Short
-
createPingProcess
Short createPingProcess(IPAddress dstIpAddress, int repeatTime, int timeout, int waitTime, String portName) Information provided by the PKI file:
\brief Creates a ping process and returns the ping process ID. \param dstIpAddress, the destination IP address. \param repeatTime, the repeat time value. \param timeout, the timeout value. \param waitTime, the wait time value. \param portName, portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 \return short, the ping process ID.- Parameters:
dstIpAddress- Takes in a parameter of dstIpAddressrepeatTime- Takes in a parameter of repeatTimetimeout- Takes in a parameter of timeoutwaitTime- Takes in a parameter of waitTimeportName- Takes in a parameter of portName- Returns:
- Short Returns a Short
-
getPingProcess
Information provided by the PKI file:
\brief Returns the PingProcess object associated with specified ping process ID. \param id, the ID of the ping process of interest. \return PingProcess, the PingProcess object associated with specified ping process ID.- Parameters:
id- Takes in a parameter of id- Returns:
- PingProcess Returns a PingProcess
-
startTraceRoute
Short startTraceRoute(IPAddress dstIpAddress, int probeCount, int minTTL, int maxTTL, int timeout, int waitTime, String portName) Information provided by the PKI file:
\brief Starts a traceroute to the specified destination and returns the traceroute process ID. \param dstIpAddress, the destination IP address. \param probeCount, the number of probes to send. \param minTTL, the minimum TTL value. \param maxTTL, the maximum TTL value. \param timeout, the timeout value. \param waitTime, the wait time value. \param portName, portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 \return short, the traceroute process ID.- Parameters:
dstIpAddress- Takes in a parameter of dstIpAddressprobeCount- Takes in a parameter of probeCountminTTL- Takes in a parameter of minTTLmaxTTL- Takes in a parameter of maxTTLtimeout- Takes in a parameter of timeoutwaitTime- Takes in a parameter of waitTimeportName- Takes in a parameter of portName- Returns:
- Short Returns a Short
-
createTraceRouteProcess
Short createTraceRouteProcess(IPAddress dstIpAddress, int probeCount, int minTTL, int maxTTL, int timeout, int waitTime, String portName) Information provided by the PKI file:
\brief Creates a trace route process and returns the traceroute process ID. \param dstIpAddress, the destination IP address. \param probeCount, the number of probes to send. \param minTTL, the minimum TTL value. \param maxTTL, the maximum TTL value. \param timeout, the timeout value. \param waitTime, the wait time value. \param portName, portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 \return short, the traceroute process ID.- Parameters:
dstIpAddress- Takes in a parameter of dstIpAddressprobeCount- Takes in a parameter of probeCountminTTL- Takes in a parameter of minTTLmaxTTL- Takes in a parameter of maxTTLtimeout- Takes in a parameter of timeoutwaitTime- Takes in a parameter of waitTimeportName- Takes in a parameter of portName- Returns:
- Short Returns a Short
-
getTraceRouteProcess
Information provided by the PKI file:
\brief Returns the TraceRouteProcess object associated with specified traceroute process ID. \param id, the ID of the traceroute process of interest. \return TraceRouteProcess, the TraceRouteProcess object associated with specified traceroute process ID.- Parameters:
id- Takes in a parameter of id- Returns:
- TraceRouteProcess Returns a TraceRouteProcess
-